import store from '@tapui/store'
import Layout from '@tapui/views/layout/Layout'

const addRouterMap = [
  {
    path: '/',
    component: Layout,
    hidden: true,
    redirect: 'approvalList',
    children: [
      {
        path: 'approvalList',
        component: (resolve) => require(['../views/cbo/cboApprovalNodeIns/approvalList'], resolve),
        name: '待审批',
        meta: { title: '待审批', icon: 'user' }
      }
    ]
  }
]

store.dispatch('MergeRoutes', addRouterMap)
